package com.joinway.framework.bean.security.constant;

public final class SecurityConstants {

	public static final String DEFAULT_USER_ID_FIELD = "userId";

	public static final String DEFAULT_USER_NAME_FIELD = "name";
			
	public static final String DEFAULT_TOKEN_FIELD = "token";
	
//	public static final String DEFAULT_TOKEN_FIELD_KEY = "com.joinway.token";
//	
//	public static final String DEFAULT_USER_ID_FIELD_KEY = "com.joinway.userid";
	
	public static final class RequestHeader {
		public static final String Key = "com.joinway.request.header.key";
		public static final String Value = "com.joinway.request.value";
	}

//	public static final class SessionAlive {
//		public static final String Key = "com.joinway.session.alive.key";
//		public static final String Value = "com.joinway.session.alive.value";
//	}
	
	public static final class SingleSignOn {
		public static final String TokenKey = "com.joinway.sso.token";
//		public static final String UserIdKey = "com.joinway.sso.userid";
	}
	
	@Deprecated public static final class HttpMethod {
		public static final String GET = "get";
		public static final String POST = "post";
	}

	private SecurityConstants() {
	}
}
